package com.iwop.moto.comm;

import com.iwop.moto.utils.stringUtil.PathUtil;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2016/7/6.
 */
public class Comm {
    public Comm() {
    }
    /** 生产环境 配置 **/
//    public static final String APPID    = "wxe5b8956aa9f1485e";                //开摩邦APPID(正式环境)
//    public static final String SECRET   = "8fba3b3b7356b55dbe209100f0cf1f90";  //开摩邦APPSECRET(正式环境)
//    public static final String DYAPPID    = "wxcfe785a85fd972bd";                //开摩邦订阅号APPID(正式环境)
//    public static final String DYSECRET   = "86785b89366c6e520381e9338af5e4fb";  //开摩邦订阅号APPSECRET(正式环境)
//    public static final String partner  = "1388737702"; //开摩邦商户号
//    public static final String partnerkey = "8fba3b3b7356b55dbe209100f0cf1f90";//开摩邦商户Key
//    public static String REDIS_IP   = "127.0.0.1"; //Redis服务-生产环境-地址(默认本机)
//    public static String JEDIS_AUTH_PASS = "reLx208598919"; //Redis服务-生产环境-密码
//    public static String ROOT_PATH="/opt/website/sharedata/moto-images/";//服务器存储路径
//    public static final String HTTP_URL = "http://moto.iwop.cn";//服务器地址(需外网能访问)
//    public static String UnpayHttpUrl = "https://ipay.cmbc.com.cn:9012/gwpay ";//正式环境银联支付交易地址
//    public static String UnpayPartner = "";//正式环境银联商户号(未提供)
//    public static boolean IOSJPUSH=true;//极光推送ios正式版推送
//    public static String ALIPAYBACKURL="http://h5.mobom.net/pay/pay_end.html";


//   /* * 开发环境 配置 **/
   public static String REDIS_IP = "192.168.0.12"; //Redis服务-发环境-地址
//    public static final String APPID    = "wxe7030861ddd7395a";//"wx8bc10b117b396a43";                //APPID(嘀叮)
    public static final String APPID    = "wx912924727614bc21";//"wx8bc10b117b396a43";                //APPID
 //   public static final String SECRET   = "e60ea590aa58ccd06c4f3a031e53aa3e";//"1fafca67c15275336f6afbdab448f501";  //APPSECRET(嘀叮)
    public static final String SECRET   = "6d190cc72ac43215869ca00ef2916e88";//"1fafca67c15275336f6afbdab448f501";  //APPSECRET(嘀叮)
//    public static final String partner  = "1433134102";//"1388193702";//嘀叮商户号
    public static final String partner  = "1460826002";//"1388193702";//嘀叮商户号
//    public static final String partnerkey = "86785b89366c6e520381e9338af5e4fb";//"1fafca67c15275336f6afbdab448f501";//嘀叮商户Key
    public static final String partnerkey = "IjgmgjoZoW1l9f09KsbL4Zwr3bOLm6WF";//"1fafca67c15275336f6afbdab448f501";//嘀叮商户Key

    public static final String DYAPPID    = "wxcfe785a85fd972bd";                //开摩邦订阅号APPID(正式环境)
    public static final String DYSECRET   = "86785b89366c6e520381e9338af5e4fb";
    public static final String DYpartner  = "1416813302"; //开摩邦订阅商户号
    public static final String DYpartnerkey = "86785b89366c6e520381e9338af5e4fb";//开摩邦订阅商户号Key
   public static  String JEDIS_AUTH_PASS = "reLx208598919"; //Redis服务-发环境-密码
    public static String ROOT_PATH="D:/upload/images/";//本地测用路径
    public static String UnpayPartner = "GWP_MBCLW_H5";//测试商户号
    public static String UnpayHttpUrl = "http://110.80.39.174:9012/gwpay";//测试环境银联支付交易地址
    public static final String HTTP_URL = "http://15558f1v51.imwork.net"; //本地花生壳映射服务地址(需外网能访问)
    public static boolean IOSJPUSH=false;//极光推送ios开发版推送
    public static String ALIPAYBACKURL="http://cool.tunnel.qydev.com/pay/pay_end.html";
//
    /** 银联证书目录 **/
    public static final String UNION_RSA_PRIVATE_PKCS8_MOBOM =
            PathUtil.getClassResources()+"files/unionpay/mobom_rsa_private_key_pkcs8_2048.pem";
    public static final String UNION_RSA_PUBLIC_MS =
            PathUtil.getClassResources()+"files/unionpay/ms_rsa_public_key_2048.pem";

    /**测试环境的 银联证书目录**/
    /**public static final String UNION_RSA_PRIVATE_PKCS8_MOBOM =
            PathUtil.getClassResources()+"files/unionpay/test/pkcs8_mobom_rsa_private_key_2048.pem";
    public static final String UNION_RSA_PUBLIC_MS =
            PathUtil.getClassResources()+"files/unionpay/test/ms_rsa_public_key_2048.pem";
    **/

    /** 公共配置类型 **/
    public static  int REDIS_PORT = 6379;// Redis 服务端口(外网和内网都默认6379配置)
    public static String REDIS_WEIXIN_ACCESS_TOKEN_KEY = "REDIS_WEIXIN_ACCESS_TOKEN_KEY";
    public static String REDIS_WEIXIN_ACCESS_TOKEN_KEY_DY = "REDIS_WEIXIN_ACCESS_TOKEN_KEY_DY";
    public static String SESSION_WEIXIN_ID ="weixin_id";//微信用户信息 Session key
    public static String SESSION_USER ="session_user"; //用户信息 Session key
    public static Map<String,Object> map=new HashMap<String,Object>();
    public static String WEB_FILEPATH="moto-images/"; //图片映射路径
    public static  int MAX = 100000;
    public static final String WX_RETURN_URL = "/api/wx/authorize/result";//微信获取用户信息 - 回调函数
    public static final String notifyurl = "/wx/pay/callback";// 微信支付回调函数
    public static final String appnotifyurl = "/wx/app/pay/callback";// 微信APP支付回调函数
    public static final String APP_UPLOAD_PATH="common/ver/";
    public static final String token = "motoiwop";// 测试账号开发模式接口配置信息token(测试账号用)
    public static final double BROKERAGE=0.03;

    /** 网易云信(IM)配置 **/
    public static final String YunXinAppKey = "49375d56619322b7f929cc3c13c62195";
    public static final String YunXinAppSecret = "3980db0ae0d5";

    public static final String QUICK_MSECURITY_PAY = "QUICK_MSECURITY_PAY";

    /**
     *维修店 极光推送
     * */
    public static final String JPUSH_STORE_KEY = "3c523cf4b5e8af13b1af67a0";
    public static final String JPUSH_STORE_SERT = "657e1ee697944d5e460d2e75";

    /**
     *用户端 极光推送
     * */
    public static final String JPUSH_USER_KEY = "b8e8c8463b4525a2c21786f8";
    public static final String JPUSH_USER_SERT = "a593fb36188fb3fd5c614e25";


}
